Kameleon-Plus  0.3.2
Public Member Functions | List of all members
ccmc::KameleonInterpolator Class Reference

TODO: Brief description of KameleonInterpolator class. More...

#include <ccmc/KameleonInterpolator.h>

Inheritance diagram for ccmc::KameleonInterpolator:
Inheritance graph
[legend]
Collaboration diagram for ccmc::KameleonInterpolator:
Collaboration graph
[legend]

Public Member Functions

 KameleonInterpolator (Model *modelReader)
 
float interpolate (const std::string &variable, const float &c0, const float &c1, const float &c2)
 
float interpolate (const std::string &variable, const float &c0, const float &c1, const float &c2, float &dc0, float &dc1, float &dc2)
 
float interpolate (const long &variable_id, const float &c0, const float &c1, const float &c2)
 
float interpolate (const long &variable_id, const float &c0, const float &c1, const float &c2, float &dc0, float &dc1, float &dc2)
 
virtual ~KameleonInterpolator ()
 
- Public Member Functions inherited from ccmc::Interpolator
 Interpolator ()
 
virtual float getConversionFactor (const std::string &)
 
virtual float getConversionFactor (const long &variable_id)
 
std::string getModelName ()
 
virtual ~Interpolator ()
 
void setModelReader (Model *reader)
 

Additional Inherited Members

- Protected Attributes inherited from ccmc::Interpolator
ModelmodelReader
 
std::string modelName
 

Detailed Description

TODO: Brief description of KameleonInterpolator class.

TODO: Full description of KameleonInterpolator class

Constructor & Destructor Documentation

ccmc::KameleonInterpolator::KameleonInterpolator ( Model model)
Parameters
model

Here is the call graph for this function:

ccmc::KameleonInterpolator::~KameleonInterpolator ( )
virtual

Member Function Documentation

float ccmc::KameleonInterpolator::interpolate ( const std::string &  variable,
const float &  c0,
const float &  c1,
const float &  c2 
)
virtual

OpenGGCM and BATSRUS: c0,c1,c2 corresponds to x,y,z, respectively. ENLIL and MAS: c0,c1,c2 corresponds to r,phi(latitude), theta(longitude), respectively

Parameters
variable
c0
c1
c2
variable
c0
c1
c2
Returns

Implements ccmc::Interpolator.

float ccmc::KameleonInterpolator::interpolate ( const std::string &  variable,
const float &  c0,
const float &  c1,
const float &  c2,
float &  dc0,
float &  dc1,
float &  dc2 
)
virtual

OpenGGCM and BATSRUS: c0,c1,c2 corresponds to x,y,z, respectively. ENLIL and MAS: c0,c1,c2 corresponds to r,phi(latitude), theta(longitude), respectively

Parameters
variable
c0
c1
c2
dc0
dc1
dc2
variable
c0
c1
c2
dc0
dc1
dc2
return

Implements ccmc::Interpolator.

Here is the call graph for this function:

float ccmc::KameleonInterpolator::interpolate ( const long &  variable_id,
const float &  c0,
const float &  c1,
const float &  c2 
)
virtual

OpenGGCM and BATSRUS: c0,c1,c2 corresponds to x,y,z, respectively. ENLIL and MAS: c0,c1,c2 corresponds to r,phi(latitude), theta(longitude), respectively

Parameters
variable_id
c0
c1
c2Interpolates using the base model interpolators. Does not perform derived variable calculations.
variable_id
c0
c1
c2
Returns

Implements ccmc::Interpolator.

Here is the call graph for this function:

float ccmc::KameleonInterpolator::interpolate ( const long &  variable_id,
const float &  c0,
const float &  c1,
const float &  c2,
float &  dc0,
float &  dc1,
float &  dc2 
)
virtual

A variable_id won't work well, since derived variables can be requested, which do not exist in the data.

OpenGGCM and BATSRUS: c0,c1,c2 maps to x,y,z, respectively. ENLIL and MAS: c0,c1,c2 maps to r,theta(latitude), phi(longitude), respectively

Parameters
variable
c0
c1
c2
dc0
dc1
dc2

Implements ccmc::Interpolator.

Here is the call graph for this function:


The documentation for this class was generated from the following files: